package com.steakliu.provider.service;

import com.steakliu.interfaces.UserServiceInterface;
import com.steakliu.interfaces.domain.User;
import org.apache.dubbo.config.annotation.DubboReference;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * 功能说明：
 * <p>
 * Original @Author: steakliu-刘牌, 2022-07-30  10:21
 * <p>
 * Copyright (C)2020-2022  steakliu All rights reserved.
 */
//@DubboService(interfaceClass = UserServiceInterface.class , protocol = "dubbo")
public class UserServiceImpl implements UserServiceInterface {
    @Override
    public User getUser(String userId) {
        return new User().setUsername("steakliu").setAge(24).setSex("男");
    }
}
